package com.robusta.app.web.model;

import org.springframework.web.multipart.MultipartFile;

public class UploadViewModel {
    public String selectedTemplate;
    public MultipartFile uploadFile;

    public UploadViewModel() {} // for bean initialization from spring mvc

    public UploadViewModel(String selectedTemplate, MultipartFile file) {
        this.selectedTemplate = selectedTemplate;
        this.uploadFile = file;
    }

    public String getSelectedTemplate() {
        return selectedTemplate;
    }

    public void setSelectedTemplate(String selectedTemplate) {
        this.selectedTemplate = selectedTemplate;
    }

    public MultipartFile getUploadFile() {
        return uploadFile;
    }

    public void setUploadFile(MultipartFile file) {
        this.uploadFile = file;
    }
}
